package com.apabi.service;

import com.apabi.model.Collections;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by huhu on 2018/1/13.
 */
public interface CollectionsService {
    public Page<Collections> findByUserId(int uid, Pageable pageable);

    void removeByUserId(Integer id);

    void removeByIdAndUserId(Integer id,Integer userId);
}
